home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
macros
/
optim
/
makefile
< prev
next >
Wrap
Makefile
|
1999-09-16
|
623b
|
34 lines
SHELL = /bin/sh
SCIDIR=../..
include ../../Makefile.incl
.SUFFIXES: .sci .bin $(SUFFIXES)
NAME = optlib
NAM = optim
MACROS = linpro.sci quapro.sci karmarkar.sci pack.sci unpack.sci \
lmitool.sci \
lmisolver.sci vec2list.sci list2vec.sci pencost.sci \
aplat.sci
OBJ = $(MACROS:.sci=.bin)
MACROSN = $(MACROS:.sci=)
all:: $(OBJ) lib
lib: $(OBJ) names
@echo generating lib and names
@$(SCIDIR)/bin/scilab -lib $(NAME) SCI/macros/$(NAM)
names: $(OBJ)
@$(RM) names;touch names;
@for i in $(MACROSN); do (echo $$i >> names );done
distclean::
$(RM) lib names *.bin
.sci.bin:
@$(SCIDIR)/bin/scilab -comp $*.sci